export const getProps = (
  props: string,
  originObject: any = {},
  defaultValue: string = '无'
) => {
  console.log(props)
  console.log(originObject)

  try {
    return originObject[`${props}`]
  } catch (error) {
    return defaultValue
  }
}
